package com.nut.spp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nut.spp.entity.AdapayRefundRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AdapayRefundRecordMapper extends BaseMapper<AdapayRefundRecord> {

    @Select("select * from biz_adapay_refund_record where order_id=#{orderId}")
    List<AdapayRefundRecord> selectByOrderId(@Param("orderId") String orderId);

}